//#define __FORCE_TRACE__
//#define __FORCE_DEBUG__
//#define __FORCE_INFO__
#define THIS_FILE "net\fn_callevent.sqf"
#include <tmf_constants.h>
#include <tmf_macros.h>

TRACE_1("Start",_this);
// We set the value of the Variable to the Arguments we'll use to call each event handler in XNetRunEvent.
GVAR(mission_event_handler) = _this;
// The following statement will commit the variable and Raise a PublicVariableEvent on all systems EXCEPT the one which changed the variable.
// This will have as effect to call XNetRunEvent on all systems beside the origin system.
publicVariable QGVAR(mission_event_handler);
// For this reason, we need to call the XNetRunEvent ourself.
_this call NFUNC(runevent);
